#ifndef MAINTHREAD_H_INCLUDED
#define MAINTHREAD_H_INCLUDED

#include <Ape/Object.h>
#include <Ape/String.h>
#include <Ape/MT/Thread.h>
#include <Ape/MT/Task.h>
#include <Ape/Collections/Array.h>

namespace MultiplexD {
	class MainThread : public Ape::MT::Task {
		TYPE_NAME ("multiplexd::MainThread")
	private:
		Ape::Collections::Array<Ape::String> m_CmdArgs;
	public:
		MainThread (int argc, char** argv);
		virtual ~MainThread();
		
		virtual void Run(Ape::EventModel::EventArgs& ea);
	};
}

#endif // MAINTHREAD_H_INCLUDED
